<?php
	include_once '../../sys/com/model/db/SupplierBrandDAO.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- InstanceBegin template="/Templates/contant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>

<script src="../../admin/js/jquery.js" type="text/javascript"></script>
<script src="../../admin/js/jquery.alerts/jquery.alerts.js" type="text/javascript"></script>
<script src="../../admin/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="./js/index.js" charset="UTF-8" type="text/javascript"></script>
<script src="./js/category.js" type="text/javascript"></script>
<script>


</script>
<script src="./js/content.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>商品詳情</title>
<!-- InstanceEndEditable -->

<style type="text/css">
<!--
#member_contant {
	width: 955px;
	margin-right: 34.5px;
	margin-left: 34.5px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#container {
	width: 765px;
	float: right;
}

#container_body {
	width: 765px;
}

#container_up {
	width: 765px;
}

#container_up_2 {
	height: 100px;
	width: 765px;
}

#container_up_2 {
	height: 100px;
	width: 765px;
}

#container_up_2 {
	height: 82px;
	width: 765px;
	background-image: url(../../member/img/member_area_text.jpg);
}

#container_body_left {
	float: left;
	width: 190px;
}

#container_left {
	float: left;
	width: 180px;
	margin-right: 10px;
}

.style17 {
	color: #74B9E5;
	font-size: 14px;
}

.style59 {
	font-size: 15px;
	color: #333333;
}

#container_right {
	width: 765px;
	float: left;
}

.style58 {
	font-size: 10px;
	color: #666666;
}

.style61 {
	font-size: 26px;
	font-weight: bold;
	color: #263CFF;
}

.style68 {
	font-size: 20px;
	color: #666666;
}

.style70 {
	font-size: 14px;
	color: #FF0000;
}

.style43 {
	font-size: 12px;
	color: #666666;
	font-weight: bold;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style72 {
	font-size: 22px;
	color: #000000;
}

.style73 {
	color: #FF0000
}

.style74 {
	color: #000000;
	font-size: 24px;
}
-->
</style>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #666666;
}

a:active {
	text-decoration: none;
}

.style1 {
	font-size: 14px;
	color: #666666;
	font-weight: bold;
}

.style2 {
	color: #666666;
	font-size: 12px;
}

.style3 {
	font-size: 13px;
	color: #FFFFFF;
}

.style4 {
	font-size: 12px
}

.style5 {
	font-size: 12px;
	color: #FFFFFF;
}

.style8 {
	font-size: 7px;
	color: #FFFFFF;
}

a:hover {
	color: #333333;
	text-decoration: underline;
}

.style10 {
	color: #666666
}

.style12 {
	font-size: 13px;
}

.style13 {
	color: #FFFFFF
}
-->
</style>
</head>

<body>
<table width="1024" border="0" align="center" cellpadding="0"
	cellspacing="0">
	<tr>
		<td>
		<table width="1024" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="955">
				<table width="955" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td><span class="style2">設為首頁</span></td>
						<td width="469" valign="bottom">
						<table width="161" height="25" border="0" align="right"
							cellpadding="0" cellspacing="0">
							<tr>
								<td width="20" align="center"><img
									src="../../images/Member_icon.png" width="13" height="13" /></td>
								<td width="75" align="center">
								<div align="center"><span><a
									href="../../member/personal_member/personal_member_index.html"
									class="style1">會員專區</a></span></div>
								</td>
								<td width="18" align="center"><img
									src="../../images/member_icon_red.png" width="13" height="13" /></td>
								<td width="48" align="center" class="style1">
								<div align="center"><a href="../../login.html">登出</a></div>
								</td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>

			<tr>
				<td align="center">
				<table width="955" border="0" cellpadding="0" cellspacing="0"
					id="top">
					<tr>
						<td height="82" background="../../images/top_bg.png">
						<table width="955" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="180" height="82" rowspan="2">&nbsp;</td>
								<td width="300" height="45">
								<table width="300" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="60" align="center"><img
											src="../../images/top_hot_icon.png" width="38" height="17" /></td>
										<td width="240">
										<table border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="240">
												<div align="left"><span class="style3"><a
													href="#" class="style3">筆記型電腦</a> ,<a href="#"
													class="style3"> iPhone</a> ,<a href="#" class="style3">女裝</a></span></div>
												</td>
											</tr>
										</table>
										</td>
									</tr>
								</table>
								</td>
								<td width="475" align="center" valign="middle">
								<table width="285" border="0" align="right" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="20" align="center"><img
											src="../../images/top_line.png" alt="" width="1" height="8" /></td>
										<td width="75" align="center"><a
											href="../other_list/recommend_list.php" class="style3">推薦商品</a></td>
										<td width="20" align="center"><img
											src="../../images/top_line.png" alt="" width="1" height="8" /></td>
										<td width="75" align="center"><a
											href="../other_list/discount_list.php" class="style3">特價商品</a></td>
										<td width="20" align="center"><img
											src="../../images/top_line.png" alt="" width="1" height="8" /></td>
										<td width="75" align="center"><a
											href="../brand_list/brand_list.php" class="style3">品牌專區</a></td>
									</tr>
									<tr>
										<td width="20" align="center" class="style8"></td>
										<td width="75" align="center"><a
											href="../other_list/recommend_list.php" class="style8">RECOMMEND</a></td>
										<td width="20" align="center" class="style8"></td>
										<td width="75" align="center"><a
											href="../other_list/discount_list.php" class="style8">DISCOUNT</a></td>
										<td width="20" align="center"></td>
										<td width="75" align="center"><a
											href="../brand_list/brand_list.php" class="style8">BRAND</a></td>
									</tr>
								</table>
								</td>
							</tr>
							<tr>
								<td height="37" colspan="2">
								<table width="775" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="300" height="37">
										<table width="268" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td width="20" align="center">
												<form id="form1" name="form1" method="post" action="">
												<label></label></form>
												</td>
												<td width="200" align="center"><input name="textfield"
													type="text" class="style1" id="textfield" /></td>
												<td align="center">
												<form id="form2" name="form2" method="post" action="">
												<label> <input name="button" type="submit"
													class="style2" id="button" value="搜尋" /> </label></form>
												</td>
											</tr>
										</table>
										</td>
										<td width="475" align="center" valign="middle">
										<table border="0" align="right" cellpadding="0"
											cellspacing="0">
											<tr>
												<td align="center" class="style3">｜</td>
												<td class="style3">
												<table border="0" align="center" cellpadding="0"
													cellspacing="0">
													<tr>
														<td width="75">
														<div align="center"><a
															href="../product_list/preoder_list.html" class="style3">預購</a></div>
														</td>
													</tr>
												</table>
												</td>
												<td align="center" class="style3">｜</td>
												<td class="style3">
												<table border="0" align="center" cellpadding="0"
													cellspacing="0">
													<tr>
														<td width="75">
														<div align="center"><a href="#" class="style3">購物車</a></div>
														</td>
													</tr>
												</table>
												</td>
												<td align="center" class="style3">｜</td>
												<td class="style3">
												<table border="0" align="center" cellpadding="0"
													cellspacing="0">
													<tr>
														<td width="75">
														<div align="center"><a href="#" class="style3">客戶中心</a></div>
														</td>
													</tr>
												</table>
												</td>
											</tr>

										</table>
										</td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td align="center">
				<div id="member_contant">
				 <div id="container_left"><table border="0" cellspacing="0" cellpadding="0">
                		<?php include_once 'template/category.php';?>
				
					<tr>
						<td height="10"></td>
					</tr>
					<tr>
						<td align="center">
						<table border="0" cellspacing="0" cellpadding="0">
                      <tr background="../../images/好康優惠_01.png">
                        <td width="180" height="82" background="../../images/goodd_01.png"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="131" height="42"></td>
                              <td width="43"></td>
                            </tr>
                            <tr>
                              <td></td>
                              <td><a href="#"><img src="../../images/goodd_more.png" width="31" height="9" border="0" /></a></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td width="180" height="231" valign="top" background="../../images/goodd_02.png"><table border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="71" align="center"><table width="162" border="0" align="center" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td width="75"><img src="" id="src1" alt="類別縮圖" width="75" height="71" style="background-color: #FF0000" /></td>
                                    <td width="81"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td width="80" align="left"><a href="#" id="url1" class="style59"></a></td>
                                        </tr>
                                        <tr>
                                          <td align="left"><span id="price1" class="style32"></span></td>
                                        </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td><img src="../../images/goodd_04.png" width="168" height="9" /></td>
                            </tr>
                            <tr>
                              <td height="71"><table width="162" border="0" align="center" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td width="75"><img src="" id="src2" alt="類別縮圖" width="75" height="71" style="background-color: #FF0000" /></td>
                                    <td width="81"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td width="80" align="left"><a href="#" id="url2" class="style59"></a></td>
                                        </tr>
                                        <tr>
                                          <td align="left"><span id="price2" class="style32"></span></td>
                                        </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td><img src="../../images/goodd_04.png" width="168" height="9" /></td>
                            </tr>
                            <tr>
                              <td height="71"><table width="162" border="0" align="center" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td width="75"><img src="" id="src3" alt="類別縮圖" width="75" height="71" align="top" style="background-color: #FF0000" /></td>
                                    <td width="81"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td width="80" align="left"><a href="#" id="url3" class="style59"></a></td>
                                        </tr>
                                        <tr>
                                          <td align="left"><span id="price3" class="style32"></span></a></td>
                                        </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td><img src="../../images/goodd_03.png" width="180" height="11" /></td>
                      </tr>
                  </table>
						</td>
					</tr>
					<tr>
                  <td height="10"></td>
                </tr>
                <?php 
                        $supplierBrandDAO = new SupplierBrandDAO();
                        $result = $supplierBrandDAO->queryByAll();
                        
                        if(count($result)>0){
                    ?>
                <tr>
                  <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                      <tr >
                        <td width="180" height="42" background="../../images/Brand_Street_title.png"></td>
                      </tr>
                      <tr>
                          <td width="180" background="../../images/Brand_Street_in.png"><table width="178" border="0" align="center" cellpadding="0" cellspacing="0">
                          <?php 
							$count = count($result)/2;
	                        if(is_float($count)){ //若有小數位則加1
	                        	$count = (int)($count)+1;
	                        }
	                        $picFront = "/shopping/shopcarda2/admin/supplier/admin_supplier_brand/images/";
	                        $index = 0;
	                        for($i=0; $i<$count; $i++){
	                        	$pic0 = $picFront."spacer.gif";
	                        	$alt0 = "";
	                        	if($index<count($result)){
	                        		if(!is_null($result[$index]->{"pic"})){
	                        			$pic0 = $picFront.$result[$index]->{"pic"};
	                        		}
	                        		$alt0 = $result[$index]->{"logo_name"};
	                        		$index++;
	                        	}
	                        	$pic1 = $picFront."spacer.gif";
	                        	$alt1 = "";
	                        	if($index<count($result)){
	                        		if(!is_null($result[$index]->{"pic"})){
	                        			$pic1 = $picFront.$result[$index]->{"pic"};
	                        		}
	                        		$alt1 = $result[$index]->{"logo_name"};
	                        		$index++;
	                        	}
                          ?>
                            <tr>
                              <td width="88" height="45" align="center" valign="middle"><img src="<?php echo $pic0?>" width="88" height="44" alt="<?php echo $alt0?>" style="background-color: #FF0000" /></td>
                              <td width="88" align="center" valign="middle"><img src="<?php echo $pic1?>" width="88" height="44" alt="<?php echo $alt1?>" style="background-color: #FF0000" /></td>
                            </tr>
                          <?php }?>
                          </table></td>
                        </tr>
                      <tr>
                        <td><img src="../../images/Brand_Street_end.png" width="180" height="4" /></td>
                      </tr>
                  </table></td>
                </tr>
                <?php }?>
                <tr>
                  <td height="10"></td>
                </tr>
					<tr>
						<td align="center">
						<table width="180" border="0" align="center" cellpadding="0"
							cellspacing="0"
							background="../../Second_index/images/CustomerService_bg.png">
							<tr>
								<td width="180" height="197" valign="top">
								<table width="180" height="196" border="0" cellpadding="0"
									cellspacing="0">
									<tr>
										<td height="71">&nbsp;</td>
									</tr>
									<tr>
										<td height="19" align="center">
										<table width="165" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td width="50" align="center" class="style58"><span><a
													href="#" class="style58">線上客服</a></span></td>
												<td class="style58"></td>
												<td width="50" align="center"><a href="#"
													class="style58">A/S查詢</a></td>
												<td class="style58"></td>
												<td width="50" align="center"><a href="#"
													class="style58">其它問題</a></td>
											</tr>
										</table>
										</td>
									</tr>
									<tr>
										<td height="35" align="center"><span class="style61">02
										) 2275-3588</span></td>
									</tr>
									<tr>
										<td height="29">
										<table width="180" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td width="39" height="25"></td>
												<td width="53" align="center"><span class="style68">10:30</span></td>
												<td width="34"></td>
												<td width="54" align="center"><span class="style68">19:00</span></td>
											</tr>
										</table>
										</td>
									</tr>
									<tr>
										<td align="center"><span class="style70">逢六、日與例假日暫停服務</span></td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td height="10"></td>
					</tr>
				</table>
				</div>
				<!-- InstanceBeginEditable name="EditRegion2" -->
				<div id="container_right">
				<table width="765" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td><img src="content/top.png" width="765" height="63" /></td>
					</tr>
					<tr>
						<td height="20">&nbsp;</td>
					</tr>
					<tr>
						<td>
						<table width="765" border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td width="321" height="325" valign="center"
									>
								<table width="321" border="0" cellpadding="0" cellspacing="0" background="content/2.jpg" style="background-repeat: no-repeat;">
									<tr>
										<td width="10" height="10"></td>
										<td width="301" height="10" ></td>
										<td width="10"></td>
									</tr>
									<tr>
										<td height="276" >&nbsp;</td>
										<td height="311" style="text-align: center;"><span id="pic"></span>&nbsp;</td>
										<td>&nbsp;</td>
									</tr>

								</table>
								</td>
								<td width="10">&nbsp;</td>
								<td width="434">
								<table width="434" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td colspan="2">
										<p  class="style43 style72"><span id="p_name"></span></p>
										</td>
									</tr>
									<tr>
										<td colspan="2" class="style61 style4">價格保證！線上優惠，數量有限</td>
									</tr>
									<tr>
										<td colspan="2">&nbsp;</td>
									</tr>
									<tr>
										<td width="113" class="style1">■製造商 :</td>
										<td width="321" class="style1"><span id="logo_name_en"></span>(<span id="logo_name"></span>)</td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" width="388"
											height="7" /></td>
									</tr>
									<tr>
										<td class="style1">■建議售價 :</td>
										<td class="style1" id="price">36,000元</td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td class="style1">■產品特性 :</td>
										<td class="style1" id="attr"></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td><span class="style1">■購買的數量 :</span></td>
										<td><label> <select name="select" size="1"
											 id="select">
											
										</select> </label></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td><span class="style1">■庫存數量 :</span></td>
										<td class="style1"><span id="count"></span></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td><span class="style1">■付款方式 : </span></td>
										<td valign="middle"><label class="style1"> <input
											type="radio" name="radio" id="radio" value="radio" /> 信用卡 <input
											type="radio" name="radio" id="radio2" value="radio" /> 貨到付款
										</label></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td><span class="style1">■配送方式 : </span></td>
										<td><span class="style1">宅配</span></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
									<tr>
										<td><span class="style1">■交貨日期 : </span></td>
										<td><span class="style1">付款完成後 10 工作天出貨</span></td>
									</tr>
									<tr>
										<td colspan="2"><img src="content/4.jpg" alt=""
											width="388" height="7" /></td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>
						<table width="765" border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td height="35">
								<div align="center" class="style72">線上優惠 : <span
									class="style73" id="sell_price"></span> 運費另計</div>
								</td>
								<td><img src="content/1.jpg" width="114" height="35" /><img
									src="content/3.jpg" width="113" height="36" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>
						<div id="prod_txt"></div>
				</td>
			</tr>
			<tr>
				<td width="1024" height="118">
				<table width="955" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="230" height="118" align="center"><a
							href="../../index.html"><img name="" width="200" height="66"
							alt="logo位置" style="background-color: #FF0000" /></a></td>
						<td width="10" align="center"><img
							src="../../images/end_Separateline1.png" width="1" height="80" /></td>
						<td width="715" valign="middle">
						<table width="715" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="40" align="left" valign="top">
								<div align="center">
								<table border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="50" align="center" class="style2"></td>
										<td align="center" class="style2"><span class="style2"><a
											href="#" class="style2">公司簡介</a></span></td>
										<td width="20" align="center" class="style2"><img
											src="../../images/end_Separateline2.png" width="1"
											height="11" /></td>
										<td align="center" class="style2"><a href="#"
											class="style2">平台政策與規範</a></td>
										<td width="20" align="center" class="style2"><img
											src="../../images/end_Separateline2.png" alt="" width="1"
											height="11" /></td>
										<td align="center" class="style2"><a href="#"
											class="style2">網路交易安全</a></td>
										<td width="20" align="center" class="style2"><img
											src="../../images/end_Separateline2.png" alt="" width="1"
											height="11" /></td>
										<td align="center" class="style2"><a href="#"
											class="style2">智財侵權檢舉</a></td>
										<td width="20" align="center" class="style2"><img
											src="../../images/end_Separateline2.png" alt="" width="1"
											height="11" /></td>
										<td align="center" class="style2"><a href="#"
											class="style2">違規事件通報</a></td>
										<td width="20" align="center" class="style2"><img
											src="../../images/end_Separateline2.png" alt="" width="1"
											height="11" /></td>
										<td align="center" class="style2"><a href="#"
											class="style2">服務中心</a></td>
									</tr>
								</table>
								</div>
								</td>
							</tr>
							<tr>
								<td height="40" valign="top" class="style2">
								<table border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="50" align="center" class="style2"></td>
										<td><span class="style2">本平台中台灣各店家所銷售的商品或服務，都是由各該店家所銷售或提供。
										| 電話 : 02-2275-3588 | 傳真 : 02-2275-3788<br />
										微衡科技 版權所有 ⓒ 2011 Microbalance. All Rights Reserved.</span></td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</body>
<!-- InstanceEnd -->
</html>
